package com.hs.dict.dwr;
 

import com.hs.core.dwr.DwrHelper;

public class DictDwr   extends DwrHelper{
	/**
	 * 删除字典
	 * @param checkId
	 * @return
	 */
	public String delDict(String id){
		String sql = "update HS_CODE SET YOUXBJ=1 WHERE ID=?";
		int i = this.getDbo().update(sql, new Object[]{id});
		System.out.println("sql="+this.getDbo().toString());
		if(i == 0){
			return "删除失败"; 
		}
		return "操作成功";
	}
}
